.main {
    margin: 0 auto;
    max-width: 1680px;
}

.layui-form-radio {
    margin-right: 0;
}

.week-list {
    display: flex;
}

.week-item {
    width: calc(100% / 7);
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-bottom: 1px solid #ebeef5;
    border-right: 1px solid #ebeef5;
}

.week-item:last-child {
    border-right: none;
}

.day-list {
    display: flex;
}

.day-item {
    position: relative;
    width: calc(100% / 7);
    height: 140px;
    line-height: 140px;
    text-align: center;
    border-bottom: 1px solid #ebeef5;
    border-right: 1px solid #ebeef5;
    cursor: pointer;
}

.day-item:last-child {
    border-right: none;
}

.day-item .task-count {
    position: absolute;
    bottom: 4px;
    left: 4px;
    line-height: initial;
}

.day-list:last-child .day-item {
    border-bottom: none;
}

.task-count .layui-badge {
    margin-right: 2px;
}

.task-view {
    position: absolute;
    width: 300px;
    background-color: #fff;
    line-height: 30px;
    display: none;
    z-index: 9999;
    border: 1px solid #EBEEF5;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

.task-item {
    display: flex;
    padding: 10px;
    position: relative;
}

.task-item .clock {
    margin-right: 10px;
    color: #ccc;
}

.task-item .time {
    margin-right: 10px;
}

.task-item .content {
    text-align: left;
    word-break: break-all;
    white-space: pre-line;
    flex: 1;
}

.task-item .task-action {
    position: absolute;
    bottom: 4px;
    right: 0;
}

.calendar-header {
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-header .left,
.calendar-header .right {
    display: inline-block;
    padding: 4px 6px;
    vertical-align: middle;
    font-size: 1.3rem;
    color: #009688;
    cursor: pointer;
}

.date-input {
    background-color: #009688;
    border-radius: 4px;
    height: 30px;
    width: 200px;
    margin: 0 10px;
    transition: all .3s;
}

.date-input:hover {
    opacity: .8;
}

.date-input input {
    background: transparent;
    border: none;
    text-align: center;
    color: #fff;
    padding: 0;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

.date-input span {
    position: absolute;
    top: 6px;
    right: 10px;
    color: #fff !important;
}

.task-new-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
}

.day-item:hover .task-new-mask {
    display: block;
}

.task-header {
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
    padding: 5px 15px;
}

.task-level {
    top: 6px;
    margin-right: 6px;
    flex: 0 0 auto;
}

.task-list {
    max-height: 300px;
    overflow: auto;
    min-height: 50px;
    padding: 0 10px 20px;
}

#taskForm,#clockForm {
    padding: 10px 30px 10px 10px;
}

.day-today .date {
    border-radius: 50%;
    background-color: #009688;
    color: #fff;
    width: 3em;
    height: 3em;
    display: inline-block;
    line-height: 3em;
}

.date {
    font-size: 1.2em;
    font-weight: bold;
}

.lunar {
    position: absolute;
    right: 8px;
    bottom: 4px;
    display: block;
    line-height: initial;
    color: #ccc;
}

.calendar-table {
    margin-bottom: 70px;
    border-radius: 4px;
    border: 1px solid #ebeef5;
}

.last-month,.next-month {
    color: #ccc;
    cursor: not-allowed;
}

.task-history {
    position: absolute;
    top: 8px;
    right: 4px;
}

.holiday {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 18px;
    line-height: 18px;
    color: #5fb878;
}

.alarm-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: top;
    margin-top: 3px;
}

#levelTips {
    margin-left: 5px;
    font-size: 14px;
    cursor: pointer;
}

#todoBtn {
    position: fixed;
    z-index: 99999;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    border-radius: 2px;
    opacity: .95;
    background-color: #393D49;
    right: 50px;
    bottom: 80px;
}

#todoBtn:hover {
    opacity: .8;
}

.clock {
    position: relative;
    margin-left: 10px;
}

.clock-view {
    line-height: 30px;
    display: none;
    position: absolute;
    z-index: 999;
    width: 400px;
    background-color: #fff;
    border: none;
    right: -40px;
    top: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

.clock-view:before {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ebeef5;
    position: absolute;
    top: -10px;
    right: 60px;
}

.clock-view:after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    position: absolute;
    top: -9px;
    right: 60px;
}

#clockBtn {
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 30px;
    color: #ff5722;
}

#clockBtn img {
    width: 14px;
    height: 14px;
    margin-right: 5px;
}

.clock-view .clock-header {
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    padding: 5px 20px 5px 15px;
}

.clock-view .clock-list {
    max-height: 300px;
    overflow: auto;
    padding: 0 10px 20px;
    min-height: 150px;
}

.clock-list .clock-item {
    display: flex;
    padding: 10px;
    position: relative;
}

.clock-item .time {
    margin-right: 10px;
    display: flex;
}

.clock-item .time .layui-icon{
    margin-right: 5px;
    color: #ccc;
}

.clock-item .content {
    text-align: left;
    word-break: break-all;
    white-space: pre-line;
    flex: 1;
}

.clock-item .clock-action {
    display: flex;
    position: absolute;
    bottom: 4px;
    right: 0;
}

.clock-action .layui-form-switch{
    margin-top: 0;
}

.clock-action .layui-btn {
    margin-left: 10px;
}